﻿using System;
using System.Collections.Generic;

[Serializable]
public class Target : PropertyBase
{
    public const string key = "Target_";
    public PropertyValue<object> range = new PropertyValue<object>(0,key + "range");
    public PropertyValue<object> target = new PropertyValue<object>(0,key + "target");
    public PropertyValue<object> self = new PropertyValue<object>(0,key + "self");
    public PropertyValue<object> num = new PropertyValue<object>(0,key + "num");
    public PropertyValue<object> randNum = new PropertyValue<object>(0,key + "randNum");
    public PropertyValue<object> all = new PropertyValue<object>(0,key + "all");
    public PropertyValue<object> enemy = new PropertyValue<object>(0,key + "enemy");
    public PropertyValue<object> friend = new PropertyValue<object>(0,key + "friend");
    public PropertyValue<object> injured = new PropertyValue<object>(0,key + "injured");
    public PropertyValue<object> poisoning = new PropertyValue<object>(0,key + "poisoning");
    //方便管理
    // protected List<PropertyValue<object>> propertyList;
    public Target()
    {
        propertyList.Add(self);
        propertyList.Add(num);
        propertyList.Add(randNum);
        propertyList.Add(all);
        propertyList.Add(enemy);
        propertyList.Add(friend);
        propertyList.Add(injured);
        propertyList.Add(poisoning);
    }
}